﻿using System.ComponentModel.DataAnnotations;

namespace P12_BlogSystem.Blog.Infrastructure.Models;

public class User
{
    public int Id { get; set; }
    
    [Required]
    public string UserName { get; set; }
    [Required]
    public byte[] PasswordHash { get; set; }
    [Required]
    public byte[] PasswordSalt { get; set; }
    
    public string Role { get; set; } = "User";

}